import { PetMingEquipItem } from "./PetMingEquipItem";
import { Cache } from "../../../cache/Cache";
import { Language } from "../../../../../extend/language/Language";
type int = number;
//class PetMingEquipRedItem
    
    export  class PetMingEquipRedItem extends PetMingEquipItem
    {
        constructor(arg1: int)
        {
            super(arg1);
            return;
        }

        protected /* override */ init(): void
        {
            super.init();
            _mingItem._levelTxt.y = 55;
            _mingItem.isWordWrap = true;
            return;
        }

        public /* override */ getToolTipData(): string
        {
            var loc1=Cache.instance.petMing.currentPetInfo;
            if (isEnable || !loc1) 
            {
                return null;
            }
            return Language.getStringByParam(54940);
        }
    }
